package com.jing.weibo.mapper.pb;

import java.util.List;

import com.jing.weibo.pojo.pb.PbTypeSeat;


/**
 * 泡吧分区位置的Mapper
 * @author jing.yue
 * @version 2012/09/25 1.0.0
 */
public interface PbTypeSeatMapper {

	/**
	 * 添加泡吧分区
	 * @param pbTypeSeat
	 * @throws Exception
	 */
	public abstract void savePbTypeSeat(PbTypeSeat pbTypeSeat) throws Exception;

	/**
	 * 分页获取泡吧分区位置列表
	 * @param pbTypeSeat
	 * @return
	 * @throws Exception
	 */
	public abstract List<PbTypeSeat> findPbTypeSeat(PbTypeSeat pbTypeSeat) throws Exception;

	/**
	 * 分页获取泡吧分区位置列表记录数
	 * @param pbTypeSeat
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findPbTypeSeatCount(PbTypeSeat pbTypeSeat) throws Exception;

	/**
	 * 分页获取泡吧分区位置用户列表
	 * @param pbTypeSeat
	 * @return
	 * @throws Exception
	 */
	public abstract List<PbTypeSeat> findPbTypeSeatUser(PbTypeSeat pbTypeSeat) throws Exception;

	/**
	 * 根据ID获取对象
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public abstract PbTypeSeat findByIdPbTypeSeat(Integer id) throws Exception;
}